<div id="cart-info" class="cart-info">
	<div class="cart-product-summary">
		<table width="100%" cellspacing="0" cellpadding="0" border="0">
			<tbody>
			{foreach from=$productsOnCart item=item}
				<tr valign="top">
					<td class="cart-product-summary-details">
						<a href="{$item.url}"><strong>{$item.cartitem_product_name}</strong>
							{if $item.attributes } 
								{assign var='hasweek' value=0}
									{if $item.cartitem_class_flag eq 1 && $item.cartitem_enrolment_type eq 'T' } 
										【{getdatebyweekdaystartdate weekday=$item.class_weekday startdate=$item.term_start_date weeksafter=$item.attributes.0.cartitem_attr_attr_value_name-1 dateformat='Y/m/d'}】
									{else}
										{foreach from=$item.attributes item=attr name=attributesarr}
											{if $attr.cartitem_attr_attribute_name eq 'week'}
													{assign var='hasweek' value=$hasweek+1}
											{else}
												 / {$attr.cartitem_attr_attribute_name}: {$attr.cartitem_attr_attr_value_name}
											{/if} 
										{/foreach}
										{if $hasweek gt 0 && $item.cartitem_enrolment_type eq 'S'}
											【课程共 {$hasweek} 周】
										{/if}
									{/if}
							{/if}
						</a>
						<br><small>{$item.cartitem_product_uid}</small>
						<br>数量: {$item.cartitem_quantity}</td>
					<td class="cart-product-summary-price">{$CURRENCY_SYMBOL}{$item.cartitem_subtotal|number_format:2:'.':','}</td>
				</tr>
			{/foreach} 
			</tbody>
		</table>
	</div>

	<div class="cart-total-price-2">
		<table width="100%" cellspacing="0" cellpadding="0">
			<tbody>
				<tr>
					{if $itemNumber lt 1}
					<td align="center">您的购物车暂时没有商品</td>
					{/if}
				</tr>
			</tbody>
		</table>
	</div>
	<div class="cont-shopping">
    <a href="javascript:void(0)" onclick="$('#shopping-cart-pop').fadeOut(200)" class="white-btn half"><span>继续购物</span></a>    
		<a href="/shopping-cart" class="green-btn half"><span>去结算</span></a>
		<div class="clear"></div>
	</div>
</div>